package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.example.entity.task.Scan;

import java.util.List;
import java.util.Map;

/**
 * @author 魏锴
 * @description 针对表【tb_task_scan】的数据库操作Service
 * @createDate 2024-01-13 18:22:52
 */
public interface ScanService extends IService<Scan> {
    boolean insertScan(Scan scan);

    List<Scan> getScanList(@Param("tester") int tester);

    Map<Integer, List<String>> getVulnerabilityList(int tester);
}
